//
//  Dao.h
//  Pods
//
//  Created by baboy on 2019/2/13.
//

#ifndef Dao_h
#define Dao_h

#import <fmdb/FMDB.h>

@interface Dao : NSObject
+ (FMDatabase*)db;
+ (FMDatabase*)db:(NSString *)ns;
+ (BOOL) setup:(NSString *)name;
+ (BOOL) close:(FMDatabase*)db;
+ (BOOL) close;

+ (BOOL) execSQL:(NSString *)sql withArgs:(NSArray *)args;
@end

#endif /* Dao_h */
